package com.zkingsoft.dao;

import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

import com.matrix.core.pojo.PaginationVO;
import com.zkingsoft.bean.BizActivities;

/**
 * @description (活动)
 * @author 何明
 * @date 2018-05-23 00:08
 */
public interface BizActivitiesDao{

	public int insert(@Param("item") BizActivities bizActivities);
   	
   	public int batchInsert(@Param("list") List<BizActivities> bizActivitiesList);
   	
	public int updateByMap(Map<String, Object> modifyMap);
	
	public int updateByModel(@Param("record")BizActivities bizActivities);
	
	public int deleteByIds(@Param("list") List<String> list);
	
	public int deleteById(String actId);

	public int deleteByModel(@Param("record") BizActivities bizActivities);
	
	public List<BizActivities> selectInPage(@Param("record") BizActivities bizActivities, @Param("pageVo") PaginationVO pageVo);

	public List<BizActivities> selectByModel(@Param("record") BizActivities bizActivities);
	
	public int selectTotalRecord(@Param("record") BizActivities bizActivities);
	
	public BizActivities  selectById(String actId);
	
	public BizActivities  selectForUpdate(String actId);
	
	public List<BizActivities> queryInPage(@Param("record") BizActivities bizActivities);
	
	public int queryTotalRecord(@Param("record") BizActivities bizActivities);
	
	public BizActivities  queryById(@Param("actId") String actId);
	
}